const TEST = 'test';
const R = (state = 0, action = {}) => {
    let res  = 0;
    switch(action.type){
        case TEST:
        res = state + 1;
        break;
        default:res = 0;break;
    }
    return res;
};
const doTest = () => [{
    type: TEST
},{
    type: TEST
}]
export { R, TEST, doTest };